package com.wxb.common.core.enums.mall;


/**
 * 优惠卷生效日期类型
 *
 * @author hd
 * @date 20240813
 */
public enum MallValidity {
    DATE(1, "固定日期"),
    TERM(2, "领取之后"),
    ;
    private final int code;
    private final String info;

    MallValidity(int code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public int getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
